package com.shensi.adminCollect.domain.markert;

import com.shensi.adminCollect.common.annotation.Excel;
import com.shensi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 立减活动和油品关系对象 reduction_oil_relations
 * 
 * @author qujia
 * @date 2021-11-02
 */
public class ReductionOilRelations extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long activityOilId;

    /** 立减活动id */
    @Excel(name = "立减活动id")
    private Long activityId;

    /** 油品id */
    @Excel(name = "油品id")
    private Long oilId;

    public void setActivityOilId(Long activityOilId) 
    {
        this.activityOilId = activityOilId;
    }

    public Long getActivityOilId() 
    {
        return activityOilId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setOilId(Long oilId) 
    {
        this.oilId = oilId;
    }

    public Long getOilId() 
    {
        return oilId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("activityOilId", getActivityOilId())
            .append("activityId", getActivityId())
            .append("oilId", getOilId())
            .toString();
    }
}
